<meta http-equiv="X-UA-Compatible" content="chrome=1">
{% ifequal device 'ipad' %}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width">
<link rel="apple-touch-startup-image" href="/static/shared/img/rhizosphere_startup_ipad_portrait.png">
{% endifequal %}
{% ifequal device 'iphone' %}
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width,user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="apple-touch-startup-image" href="/static/shared/img/rhizosphere_startup_iphone_portrait.png" >
{% endifequal %}
{% ifequal device 'android' %}
<meta name="viewport" content="width=device-width,user-scalable=no">
{% endifequal %}

<style>
  BODY {
  margin: 0;
  font-family: sans-serif;
}
</style>
<link rel="stylesheet" href="/static/src/stylesheets/{{theme}}/jquery-ui-1.8.16.custom.css" type="text/css" media="screen" charset="utf-8">

{% if debug %}
  <link rel="stylesheet/less" href="/static/src/stylesheets/{{ theme }}/rhizo.less" type="text/css" />
  <script src="/static/shared/js/less-1.1.4.min.js"></script>

{% else %}
  <link rel="stylesheet" href="/static/lib/stylesheets/rhizo.{{theme}}.css" type="text/css" media="screen" charset="utf-8">
{% endif %}

<!-- Scripts section -->
<!-- JQuery specific libraries -->
{% if debug %}
  <script src="/static/shared/js/jquery-1.5.1.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/shared/js/jquery-ui-1.8.16.custom.js" type="text/javascript" charset="utf-8"></script>
{% else %}
  <script src="/static/shared/js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/shared/js/jquery-ui-1.8.16.custom.min.js" type="text/javascript" charset="utf-8"></script>
{% endif %}
{% ifequal device 'ipad' %}
  <script src="/static/shared/js/jquery.ui.ipad.js" type="text/javascript" charset="utf-8"></script>
{% endifequal %}
{% ifequal device 'iphone' %}
  <script src="/static/shared/js/jquery.ui.ipad.js" type="text/javascript" charset="utf-8"></script>
{% endifequal %}
{% ifequal device 'android' %}
  <script src="/static/shared/js/jquery.ui.ipad.js" type="text/javascript" charset="utf-8"></script>
{% endifequal %}

<!-- Rhizosphere libraries -->
{% if debug %}
  <script src="/static/src/js/rhizo.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.options.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.eventbus.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.jquery.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.jquery.xselectable.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.log.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.state.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.base.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.meta.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/extra/rhizo.meta.extra.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.meta.manager.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.selection.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.layout.manager.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.layout.shared.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.layout.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.layout.tree.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.layout.treemap.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.model.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.model.loader.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.model.manager.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.autorender.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.gviz.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.ui.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.ui.gui.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.ui.layout.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.ui.meta.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/extra/rhizo.ui.meta.extra.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.ui.component.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/rhizo.bootstrap.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/extra/rhizo.keyboard.js" type="text/javascript" charset="utf-8"></script>
  <script src="/static/src/js/extra/rhizo.broadcast.js" type="text/javascript" charset="utf-8"></script>
{% else %}
  <script src="/static/lib/js/rhizo.pack.js" type="text/javascript" charset="utf-8"></script>
{% endif %}
